home *** CD-ROM | disk | FTP | other *** search
- A PAIR OF FINDERS
-
- Maybe these are better described as "locators." The idea was to
- make utilities that would just find the files for me, and do
- that very quickly and easily. After all, this is normally all I
- really want to know, and in the course of a working day I want
- to know it often. For example in a complex programming project
- with zillions of small files, I can quickly find out where a
- certain variable or string is located or used, and so on. So
- the commands are quickly and easily typed, and the utility makes
- no attempts to show you context or any other details. By all
- means use more elaborate utilities if you need to know such
- details.
-
- These have been used by myself and others for several years now,
- and the users are enthusiastic and have not really wanted more
- of them.
-
- FFIND.COM
-
- FFIND (FastFIND) is an easy-to-use and blindingly fast
- string-search utility. It is very simple and offers few
- options. FFIND will search a directory for files containing the
- specified string, and also the subdirectories of that directory.
- It reports only the path and name of each file containing the
- string.
-
- The search is case-insensitive (upper/lower case matched) and
- the 8th bit is ignored (search WordStar and like files as well
- as plain ASCII). All "white space" is matched--a space in the
- search string will match any number of consecutive spaces, tabs,
- or line-endings in a target file (white space compression).
- FFIND will run significantly faster if you don't have any spaces
- in your search string because it does not work as hard.
-
- The string argument is not delimited by anything. Whatever you
- type is matched, including any included, leading, or trailing
- spaces. The default search directory is the current directory.
- Change to root first and FFIND will search the whole disk, if
- you are really forgetful! You may enter a different directory
- as an argument preceding the string.
-
- The first space following such a directory will NOT be part of
- the following string (It's the delimiter), so if you want the
- string to start with a space, put an extra one in.
-
- RESTRICTED SEARCH: You can confine FFIND to a search of only
- the current directory by using "." (current directory) for the
- optional directory argument. If you follow the dot with a
- filespec, then only the specified files in the current directory
- will be searched.
-
- SKIP LIST: By default FFIND will look at all files. You can
- make a skip list, which tells FFIND certain files to skip. Just
- put a list of file extensions to skip in a file called SKIP.FF.
- Skipping the search of useless files could be a real timesaver.
- Usually you'll not want to search binary files or archive files,
- for instance. Here are some extensions that are good candidates
- for a skip list:
-
- COM EXE SYS BIN BAK OVR OVL ARC ZIP LZH ZOO DIC LIB LOD LD1 LD2
-
- FFIND will look for a possible SKIP.FF in the directory it
- starts its search in. You can have a different skip list for
- each major directory if you like. If FFIND doesn't find SKIP.FF
- in the starting directory, it will look for a "generic" SKIP.FF
- in the root. If you've specified a restricted file search in
- the command line, the skip lists are ignored.
-
- Use any plain ascii editor to make your skip list. Separate the
- extensions with "white space" of some kind. For example, these
- are both OK:
-
- COM EXE SYS
-
- COM
- EXE
- SYS
-
- You can make your skip list with the "copy con" procedure. The
- following sequence would make the first skip list above:
-
- COPY CON SKIP.FF <return>
- CON EXE SYS^Z <return>
-
- ...where "^Z" means the Ctrl-Z key.
-
- COMMAND EXAMPLES:
-
- FFIND john dehaven
-
- Finds all files in current and subdirectories containing
- "John DeHaven",
- "aBcJoHn DeHaVeNxYz",
- "john DEHAVEN",
- ^ (tab here instead of space)
- "JOHN DeHaven",
- ^^^ (3 spaces)
- "John
- DeHaven" (broken by line ending),
- ...etc.
-
- FFIND . john dehaven
-
- As above, except confined to current directory.
-
- FFIND .*.asm john dehaven
-
- As above, except confined to *.asm files in current
- directory.
-
- FFIND \doc john dehaven
-
- As above, except searches \doc and subdirectories of \doc.
-
- FFIND \doc john dehaven
- ^-(note extra space here)
- Searches for string " \doc john dehaven" so there is a way
- to do that, too.
-
- FFIND john dehaven
- ^------------^ (extra leading and trailing spaces)
- Finds " John DeHaven " but NOT "aJohn DeHavenz"
-
- FFIND \ john dehaven
-
- Another desperation search of the whole disk.
-
- WI.COM
-
- WI (WhereIs) searches a disk for files you've misplaced. A
- utility very much like this one was released by PC magazine, and
- this is a slight improvement. Most of the improvement is in
- ease of use. The list of files found may be redirected, but the
- messages will not be. Stop WI by striking any key.
-
- WI [optional drive letter] filespec [filespec filespec ...]
-
- Examples:
-
- WI *.bat *.com
-
- Finds all batch files and all COM files in your current
- disk.
-
- WI *
-
- Finds all files with no extension in your current disk.
- (Does NOT report directories or "dot" files.)
-
- WI z??.*
-
- Finds all files with 3-letter names starting with "z"
- and any (or no) extension in your current disk.
-
- WI a *.bat
-
- Finds all batch files on drive A.
-
- WI a:*.bat
-
- Harder-to-type way to find batch files on drive A.
-